package com.todo.delicacy.application.service;

import com.todo.common.common.entity.response.page.PageResult;
import com.todo.delicacy.application.entity.bo.FoodRecommendDetailBO;
import com.todo.delicacy.application.entity.condition.FoodRecommendDetailConditionBO;

/**
 * (ContentFoodRecommend)表服务接口
 *
 * @author zhangwenxiang
 * @since 2024-03-04 00:19:45
 */
public interface ContentFoodRecommendService {
    /**
     * 新增食品推荐内容详情
     *
     * @param foodRecommendDetailBO
     * @return
     */
    Boolean insertFoodRecommendDetail(FoodRecommendDetailBO foodRecommendDetailBO);

    /**
     * 更新食品推荐内容详情
     *
     * @param foodRecommendDetailBO
     * @return
     */
    Boolean updateFoodRecommendDetail(FoodRecommendDetailBO foodRecommendDetailBO);

    /**
     * 根据主键id删除食品推荐内容详情
     *
     * @param id
     * @return
     */
    Boolean removeFoodRecommendDetailById(Long id);

    /**
     * 根据内容Id删除食品推荐内容详情
     *
     * @param contentId
     * @return
     */
    Boolean removeFoodRecommendDetailByContentId(Long contentId);

    /**
     * 根据主键id查询食品推荐内容详情
     *
     * @param id
     * @return
     */
    FoodRecommendDetailBO queryFoodRecommendDetailById(Long id);

    /**
     * 根据内容Id查询食品推荐内容详情
     *
     * @param contentId
     * @return
     */
    FoodRecommendDetailBO queryFoodRecommendDetailByContentId(Long contentId);

    /**
     * 多条件查询食品推荐内容详情
     *
     * @param conditionBO
     * @return
     */
    PageResult<FoodRecommendDetailBO> queryFoodRecommendDetailByCondition(FoodRecommendDetailConditionBO conditionBO);


}
